package com.xnew.entity.memberArchives;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.xnew.bean.common.FileInfo;
import org.springframework.data.annotation.Transient;

import java.io.Serializable;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
* @Author: Zhozh
* @Description: 自律报告信息表
* @DateTime: 2022/5/25
* @Params:
* @Return
*/
@TableName("t10_slfdcp_statm")
public class SlfdcpStatm implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
    * 自律报表信息编号
    */
    @TableId("slfdcp_statm_info_no")
    private String slfdcpStatmInfoNo;

    /**
    * 信息报送审核状态编码
    */
    private String infsubAuditStatusCode;

    /**
    * 机构id
    */
    private String orgId;

    /**
    * 分类监管评级编码
    */
    private String classifSuprvRatCode;

    /**
    * 报告年月
    */
    private String rptYearMth;

    /**
    * 报告说明
    */
    private String rptSpec;

    /**
    * 创建人编号
    */
    private String createPsnNo;

    /**
    * 创建时间
    */
    private String infoInputTime;

    /**
    * 是否关闭状态
    */
    private String isCloseStatus;

    /**
     * 审核日志
     */
    @TableField(exist = false)
    private List<AuditLog> auditLogList;


    public List<AuditLog> getAuditLogList() {
        return auditLogList;
    }

    public void setAuditLogList(List<AuditLog> auditLogList) {
        this.auditLogList = auditLogList;
    }


    @TableField(exist = false)
    private List<FileInfo> fileList;

    @TableField(exist = false)
    private List<MemInfoChgHist> histList;

    public List<MemInfoChgHist> getHistList() {
        return histList;
    }

    public void setHistList(List<MemInfoChgHist> histList) {
        this.histList = histList;
    }


    public SlfdcpStatm() {
    }

    public String getSlfdcpStatmInfoNo() {
        return slfdcpStatmInfoNo;
    }

    public void setSlfdcpStatmInfoNo(String slfdcpStatmInfoNo) {
        this.slfdcpStatmInfoNo = slfdcpStatmInfoNo;
    }

    public String getInfsubAuditStatusCode() {
        return infsubAuditStatusCode;
    }

    public void setInfsubAuditStatusCode(String infsubAuditStatusCode) {
        this.infsubAuditStatusCode = infsubAuditStatusCode;
    }

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    public String getClassifSuprvRatCode() {
        return classifSuprvRatCode;
    }

    public void setClassifSuprvRatCode(String classifSuprvRatCode) {
        this.classifSuprvRatCode = classifSuprvRatCode;
    }

    public String getRptYearMth() {
        return rptYearMth;
    }

    public void setRptYearMth(String rptYearMth) {
        this.rptYearMth = rptYearMth;
    }

    public String getRptSpec() {
        return rptSpec;
    }

    public void setRptSpec(String rptSpec) {
        this.rptSpec = rptSpec;
    }

    public String getCreatePsnNo() {
        return createPsnNo;
    }

    public void setCreatePsnNo(String createPsnNo) {
        this.createPsnNo = createPsnNo;
    }

    public String getInfoInputTime() {
        return infoInputTime;
    }

    public void setInfoInputTime(String infoInputTime) {
        this.infoInputTime = infoInputTime;
    }

    public String getIsCloseStatus() {
        return isCloseStatus;
    }

    public void setIsCloseStatus(String isCloseStatus) {
        this.isCloseStatus = isCloseStatus;
    }

    public List<FileInfo> getFileList() {
        return fileList;
    }

    public void setFileList(List<FileInfo> fileList) {
        this.fileList = fileList;
    }

    @Transient
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @TableField(exist = false)
    private Map<String, Object> dictNameResult = new HashMap<String, Object>();

    public Map<String, Object> getDictNameResult() {
        return dictNameResult;
    }

    public void setDictNameResult(Map<String, Object> dictNameResult) {
        this.dictNameResult = dictNameResult;
    }

    //数据字典
    @Transient
    @JsonInclude(JsonInclude.Include.NON_NULL)
    public String[] buildIncludeField(){
        return new String[]{"infsubAuditStatusCode","isCloseStatus","classifSuprvRatCode","auditLogList"};
    }

    /*数据字典*/
    @Transient
    @JsonInclude(JsonInclude.Include.NON_NULL)
    public String[] buildIncludeType(){
        return new String[]{"DG0149","DG0104","DG0116","LIST"};
    }
}